package pl.edu.uj.tcs.blef.utils;

public class StraightFlush extends AbstractBet {

	private Color color;
	
	public StraightFlush(Color color){
		this.color = color;
	}

	@Override
	public String getCode() {
		return "STRAIGHT-FLUSH " + color.getCode();
	}

	@Override
	public String getName() {
		return "STRAIGHT-FLUSH " + color.getCode();
	}

	@Override
	public int getPriority() {
		return color.getPriority() + 300000;
	}

	public Color getColor(){
		return this.color;
	}
}
